home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-1.iso / Files / Tele / T / Tabby_LAUNCH.bas.sit / Tabby_LAUNCH.bas
MacBinary  |  1990-02-25  |  5.3 KB  |  [TEXT/MACA]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Tabby_LAUNCH.bas

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert GW-BASIC (document/gwBasic) ext Supported
66% dexvert GFA-BASIC Atari (other/gfaBASICAtari) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Memotech MTX BASIC source (document/memotechMTXBASICSource) ext Unsupported
1% dexvert Amiga BASIC Protected File (other/amigaBASICProtectedFile) ext Unsupported
1% dexvert BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source) ext Unsupported
1% dexvert Visual Basic Tokenized Source (other/visualBasicTokenizedSource) ext Unsupported
1% dexvert ZBASIC (other/zbasic) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Feb 25 10:56:45 1990, modified Sun Feb 25 10:56:45 1990, creator MacWrite, type ASCII, 4859 bytes "Tabby_LAUNCH.bas" , at 0x137b 348 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MACA]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 54 61 62 62 79 5f | 4c 41 55 4e 43 48 2e 62 |..Tabby_|LAUNCH.b|
|00000010| 61 73 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |as......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 41 43 | 41 00 00 00 00 00 00 00 |.TEXTMAC|A.......|
|00000050| 00 00 00 00 00 12 fb 00 | 00 01 5c a2 0d b0 bd a2 |........|..\.....|
|00000060| 0d b0 bd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 90 93 00 00 |........|........|
|00000080| 22 54 61 62 62 79 5f 4c | 61 75 6e 63 68 22 0d 0d |"Tabby_L|aunch"..|
|00000090| 20 20 20 20 20 27 20 43 | 4f 4d 4d 45 4e 54 53 0d | ' C|OMMENTS.|
|000000a0| 20 20 20 20 20 27 20 4c | 61 73 74 20 4d 6f 64 69 | ' L|ast Modi|
|000000b0| 66 69 65 64 2c 20 62 79 | 20 4d 69 63 68 61 65 6c |fied, by| Michael|
|000000c0| 20 4c 69 6e 69 6e 67 65 | 72 20 6f 6e 20 31 32 2d | Lininge|r on 12-|
|000000d0| 32 32 2d 38 39 2e 0d 0d | 20 20 20 20 20 27 20 54 |22-89...| ' T|
|000000e0| 68 69 73 20 73 75 62 2d | 72 6f 75 74 69 6e 65 20 |his sub-|routine |
|000000f0| 72 65 61 64 73 20 69 6e | 20 74 68 65 20 6c 61 75 |reads in| the lau|
|00000100| 6e 63 68 2e 6e 65 78 74 | 20 66 69 6c 65 20 66 72 |nch.next| file fr|
|00000110| 6f 6d 20 74 68 65 20 64 | 69 73 6b 20 61 6e 64 0d |om the d|isk and.|
|00000120| 20 20 20 20 20 27 20 64 | 65 74 65 72 6d 69 6e 65 | ' d|etermine|
|00000130| 73 20 74 68 65 20 6e 65 | 78 74 20 61 70 70 6c 69 |s the ne|xt appli|
|00000140| 63 61 74 69 6f 6e 20 74 | 6f 20 62 65 20 6c 61 75 |cation t|o be lau|
|00000150| 6e 63 68 65 64 2e 20 20 | 49 66 20 69 74 20 69 73 |nched. |If it is|
|00000160| 20 6e 6f 74 20 74 68 65 | 20 6c 61 73 74 0d 20 20 | not the| last. |
|00000170| 20 20 20 27 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | ' app|lication|
|00000180| 20 69 6e 20 74 68 65 20 | 63 68 61 69 6e 20 61 20 | in the |chain a |
|00000190| 6e 65 77 20 6c 61 75 6e | 63 68 2e 6e 65 78 74 20 |new laun|ch.next |
|000001a0| 66 69 6c 65 20 69 73 20 | 77 72 69 74 74 65 6e 20 |file is |written |
|000001b0| 74 6f 20 74 68 65 0d 20 | 20 20 20 20 27 20 64 69 |to the. | ' di|
|000001c0| 73 6b 20 66 6f 72 20 74 | 68 65 20 6e 65 78 74 20 |sk for t|he next |
|000001d0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 74 6f 20 75 |applicat|ion to u|
|000001e0| 73 65 2c 20 61 66 74 65 | 72 20 69 74 20 68 61 73 |se, afte|r it has|
|000001f0| 20 62 65 65 6e 20 6c 61 | 75 6e 63 68 65 64 2e 0d | been la|unched..|
|00000200| 20 20 20 20 20 27 20 49 | 66 20 69 74 20 69 73 20 | ' I|f it is |
|00000210| 74 68 65 20 6c 61 73 74 | 20 61 70 70 6c 69 63 61 |the last| applica|
|00000220| 74 69 6f 6e 20 69 6e 20 | 74 68 65 20 63 68 61 69 |tion in |the chai|
|00000230| 6e 20 74 68 65 6e 20 74 | 68 65 20 6c 61 75 6e 63 |n then t|he launc|
|00000240| 68 2e 6e 65 78 74 20 66 | 69 6c 65 0d 20 20 20 20 |h.next f|ile. |
|00000250| 20 27 20 69 73 20 64 65 | 6c 65 74 65 64 20 66 72 | ' is de|leted fr|
|00000260| 6f 6d 20 74 68 65 20 64 | 69 73 6b 2e 0d 20 20 20 |om the d|isk.. |
|00000270| 20 20 27 20 54 68 69 73 | 20 72 6f 75 74 69 6e 65 | ' This| routine|
|00000280| 20 69 73 20 6f 76 65 72 | 2d 6b 69 6c 6c 20 61 6e | is over|-kill an|
|00000290| 64 20 63 61 6e 20 62 65 | 20 73 69 6d 70 6c 69 66 |d can be| simplif|
|000002a0| 69 65 64 2e 0d 0d 20 20 | 20 20 20 27 20 2d 2d 2d |ied... | ' ---|
|000002b0| 2d 2d 20 45 6e 64 20 43 | 6f 6d 6d 65 6e 74 0d 0d |-- End C|omment..|
|000002c0| 20 20 20 20 20 52 45 53 | 45 54 3a 20 27 20 4d 61 | RES|ET: ' Ma|
|000002d0| 6b 65 20 73 75 72 65 20 | 61 6c 6c 20 66 69 6c 65 |ke sure |all file|
|000002e0| 20 61 72 65 20 63 6c 6f | 73 65 64 0d 20 20 20 20 | are clo|sed. |
|000002f0| 20 45 76 65 6e 74 43 6f | 75 6e 74 25 3d 30 3a 20 | EventCo|unt%=0: |
|00000300| 27 20 73 65 74 73 20 74 | 68 65 20 6e 75 6d 62 65 |' sets t|he numbe|
|00000310| 72 20 6f 66 20 65 76 65 | 6e 74 73 20 69 6e 20 6c |r of eve|nts in l|
|00000320| 61 75 6e 63 68 2e 6e 65 | 78 74 20 74 6f 20 30 0d |aunch.ne|xt to 0.|
|00000330| 20 20 20 20 20 45 72 72 | 43 6f 64 65 25 3d 33 3a | Err|Code%=3:|
|00000340| 20 20 20 20 27 20 73 65 | 74 73 20 45 78 70 6f 72 | ' se|ts Expor|
|00000350| 74 20 65 72 72 6f 72 20 | 63 6f 64 65 20 28 30 33 |t error |code (03|
|00000360| 20 64 65 61 6c 73 20 77 | 69 74 68 20 4c 61 75 6e | deals w|ith Laun|
|00000370| 63 68 2e 6e 65 78 74 29 | 0d 20 20 20 20 20 45 52 |ch.next)|. ER|
|00000380| 52 4f 52 20 3d 20 30 3a | 20 20 20 20 20 27 20 73 |ROR = 0:| ' s|
|00000390| 65 74 73 20 45 52 52 4f | 52 20 62 69 74 20 74 6f |ets ERRO|R bit to|
|000003a0| 20 5a 65 72 6f 2f 4e 6f | 20 65 72 72 6f 72 20 68 | Zero/No| error h|
|000003b0| 61 73 20 6f 63 63 75 72 | 65 64 0d 20 20 20 20 20 |as occur|ed. |
|000003c0| 4c 45 72 72 25 20 3d 20 | 31 3a 20 20 20 20 20 27 |LErr% = |1: '|
|000003d0| 20 74 65 6c 6c 20 45 52 | 52 4f 52 5f 43 68 65 63 | tell ER|ROR_Chec|
|000003e0| 6b 20 74 68 61 74 20 77 | 65 20 61 72 65 20 69 6e |k that w|e are in|
|000003f0| 20 74 68 65 20 74 61 62 | 62 79 5f 6c 61 75 6e 63 | the tab|by_launc|
|00000400| 68 20 61 72 65 61 0d 0d | 20 20 20 20 20 27 20 4d |h area..| ' M|
|00000410| 61 6b 65 20 73 75 72 65 | 20 61 20 4c 75 6e 63 68 |ake sure| a Lunch|
|00000420| 2e 6e 65 78 74 20 66 69 | 6c 65 20 65 78 69 73 74 |.next fi|le exist|
|00000430| 73 0d 20 20 20 20 20 4f | 4e 20 45 52 52 4f 52 20 |s. O|N ERROR |
|00000440| 47 4f 53 55 42 20 36 35 | 35 33 35 3a 20 27 20 57 |GOSUB 65|535: ' W|
|00000450| 65 20 64 6f 20 6f 75 72 | 20 6f 77 6e 20 65 72 72 |e do our| own err|
|00000460| 6f 72 20 74 72 61 70 70 | 69 6e 67 0d 20 20 20 20 |or trapp|ing. |
|00000470| 20 4f 50 45 4e 20 22 52 | 22 2c 31 2c 4e 65 78 74 | OPEN "R|",1,Next|
|00000480| 4c 61 75 6e 63 68 24 0d | 20 20 20 20 20 20 20 20 |Launch$.| |
|00000490| 20 20 4c 65 6e 67 74 68 | 26 3d 4c 4f 46 28 31 2c | Length|&=LOF(1,|
|000004a0| 31 29 0d 20 20 20 20 20 | 43 4c 4f 53 45 20 23 31 |1). |CLOSE #1|
|000004b0| 0d 0d 20 20 20 20 20 27 | 20 49 66 20 4c 61 75 6e |.. '| If Laun|
|000004c0| 63 68 2e 6e 65 78 74 20 | 66 69 6c 65 20 64 6f 65 |ch.next |file doe|
|000004d0| 73 20 6e 6f 74 20 65 78 | 69 73 74 20 74 68 65 6e |s not ex|ist then|
|000004e0| 20 6a 75 6d 70 20 74 6f | 20 4c 61 75 6e 63 68 5f | jump to| Launch_|
|000004f0| 52 52 48 20 52 6f 75 74 | 69 6e 65 0d 20 20 20 20 |RRH Rout|ine. |
|00000500| 20 4c 4f 4e 47 20 49 46 | 20 4c 65 6e 67 74 68 26 | LONG IF| Length&|
|00000510| 3d 30 0d 20 20 20 20 20 | 20 20 20 20 20 45 72 72 |=0. | Err|
|00000520| 4c 69 6e 65 24 20 3d 20 | 22 3c 3c 57 61 72 6e 69 |Line$ = |"<<Warni|
|00000530| 6e 67 20 30 31 3e 3e 20 | 2a 22 2b 4e 65 78 74 4c |ng 01>> |*"+NextL|
|00000540| 61 75 6e 63 68 24 2b 22 | 2a 20 44 6f 65 73 20 6e |aunch$+"|* Does n|
|00000550| 6f 74 20 65 78 69 73 74 | 20 61 74 20 65 6e 64 20 |ot exist| at end |
|00000560| 6f 66 20 49 6e 64 69 63 | 61 74 65 64 20 50 61 74 |of Indic|ated Pat|
|00000570| 68 21 20 22 0d 20 20 20 | 20 20 20 20 20 20 20 47 |h! ". | G|
|00000580| 4f 53 55 42 20 22 45 72 | 72 6f 72 20 4c 6f 67 22 |OSUB "Er|ror Log"|
|00000590| 0d 20 20 20 20 20 20 20 | 20 20 20 4b 49 4c 4c 20 |. | KILL |
|000005a0| 4e 65 78 74 4c 61 75 6e | 63 68 24 0d 20 20 20 20 |NextLaun|ch$. |
|000005b0| 20 20 20 20 20 20 47 4f | 54 4f 20 22 4c 61 75 6e | GO|TO "Laun|
|000005c0| 63 68 5f 52 52 48 22 0d | 20 20 20 20 20 45 4e 44 |ch_RRH".| END|
|000005d0| 20 49 46 0d 0d 20 20 20 | 20 20 27 20 52 65 61 64 | IF.. | ' Read|
|000005e0| 20 69 6e 20 65 76 65 6e | 74 20 63 68 61 69 6e 20 | in even|t chain |
|000005f0| 69 6e 74 6f 20 54 61 62 | 62 79 24 28 29 0d 20 20 |into Tab|by$(). |
|00000600| 20 20 20 4f 50 45 4e 20 | 22 49 22 2c 31 2c 4e 65 | OPEN |"I",1,Ne|
|00000610| 78 74 4c 61 75 6e 63 68 | 24 0d 20 20 20 20 20 57 |xtLaunch|$. W|
|00000620| 48 49 4c 45 20 4e 4f 54 | 20 45 4f 46 28 31 29 0d |HILE NOT| EOF(1).|
|00000630| 20 20 20 20 20 20 20 20 | 20 20 47 4f 53 55 42 20 | | GOSUB |
|00000640| 22 43 75 72 73 6f 72 5f | 53 70 69 6e 22 0d 20 20 |"Cursor_|Spin". |
|00000650| 20 20 20 20 20 20 20 20 | 49 4e 50 55 54 20 23 31 | |INPUT #1|
|00000660| 2c 54 61 62 62 79 24 28 | 45 76 65 6e 74 43 6f 75 |,Tabby$(|EventCou|
|00000670| 6e 74 25 29 0d 20 20 20 | 20 20 20 20 20 20 20 45 |nt%). | E|
|00000680| 76 65 6e 74 43 6f 75 6e | 74 25 3d 45 76 65 6e 74 |ventCoun|t%=Event|
|00000690| 43 6f 75 6e 74 25 2b 31 | 0d 20 20 20 20 20 57 45 |Count%+1|. WE|
|000006a0| 4e 44 0d 20 20 20 20 20 | 43 4c 4f 53 45 20 23 31 |ND. |CLOSE #1|
|000006b0| 0d 0d 20 20 20 20 20 27 | 20 49 66 20 45 52 52 4f |.. '| If ERRO|
|000006c0| 52 20 3c 3e 20 30 20 74 | 68 65 6e 20 74 68 65 72 |R <> 0 t|hen ther|
|000006d0| 65 20 77 61 73 20 61 20 | 70 72 6f 62 6c 65 6d 20 |e was a |problem |
|000006e0| 77 69 74 68 20 72 65 61 | 64 69 6e 67 20 74 68 65 |with rea|ding the|
|000006f0| 20 4c 61 75 6e 63 68 2e | 6e 65 78 74 20 66 69 6c | Launch.|next fil|
|00000700| 65 0d 20 20 20 20 20 49 | 46 20 45 52 52 4f 52 20 |e. I|F ERROR |
|00000710| 3c 3e 20 30 20 54 48 45 | 4e 20 47 4f 53 55 42 20 |<> 0 THE|N GOSUB |
|00000720| 22 45 52 52 4f 52 5f 43 | 68 65 63 6b 22 0d 0d 20 |"ERROR_C|heck".. |
|00000730| 20 20 20 20 47 4f 53 55 | 42 20 22 43 75 72 73 6f | GOSU|B "Curso|
|00000740| 72 5f 53 70 69 6e 22 0d | 20 20 20 20 20 45 76 65 |r_Spin".| Eve|
|00000750| 6e 74 43 6f 75 6e 74 25 | 3d 45 76 65 6e 74 43 6f |ntCount%|=EventCo|
|00000760| 75 6e 74 25 2d 31 0d 20 | 20 20 20 20 45 52 52 4f |unt%-1. | ERRO|
|00000770| 52 20 3d 20 30 3a 20 20 | 20 20 20 27 20 73 65 74 |R = 0: | ' set|
|00000780| 73 20 45 52 52 4f 52 20 | 62 69 74 20 74 6f 20 5a |s ERROR |bit to Z|
|00000790| 65 72 6f 2f 4e 6f 20 65 | 72 72 6f 72 20 68 61 73 |ero/No e|rror has|
|000007a0| 20 6f 63 63 75 72 65 64 | 0d 0d 20 20 20 20 20 27 | occured|.. '|
|000007b0| 20 49 66 20 45 76 65 6e | 74 43 6f 75 6e 74 25 20 | If Even|tCount% |
|000007c0| 3d 20 30 20 74 68 65 6e | 20 74 68 69 73 20 69 73 |= 0 then| this is|
|000007d0| 20 74 68 65 20 6c 61 73 | 74 20 65 76 65 6e 74 2c | the las|t event,|
|000007e0| 20 64 65 6c 65 74 65 20 | 4c 61 75 6e 63 68 2e 6e | delete |Launch.n|
|000007f0| 65 78 74 20 66 69 6c 65 | 0d 20 20 20 20 20 27 20 |ext file|. ' |
|00000800| 45 6c 73 65 20 77 72 69 | 74 65 20 4c 61 75 6e 63 |Else wri|te Launc|
|00000810| 68 2e 6e 65 78 74 20 66 | 69 6c 65 20 62 61 63 6b |h.next f|ile back|
|00000820| 20 74 6f 20 64 69 73 6b | 2c 20 6d 69 6e 75 73 20 | to disk|, minus |
|00000830| 74 68 65 20 66 69 72 73 | 74 20 65 76 65 6e 74 20 |the firs|t event |
|00000840| 77 68 69 63 68 0d 20 20 | 20 20 20 27 20 69 73 20 |which. | ' is |
|00000850| 67 6f 69 6e 67 20 74 6f | 20 62 65 20 6c 61 75 6e |going to| be laun|
|00000860| 63 68 65 64 20 6e 65 78 | 74 2e 0d 20 20 20 20 20 |ched nex|t.. |
|00000870| 4c 4f 4e 47 20 49 46 20 | 45 76 65 6e 74 43 6f 75 |LONG IF |EventCou|
|00000880| 6e 74 25 20 3c 20 31 0d | 20 20 20 20 20 20 20 20 |nt% < 1.| |
|00000890| 20 20 45 72 72 43 6f 64 | 65 25 3d 34 3a 20 20 20 | ErrCod|e%=4: |
|000008a0| 20 27 20 73 65 74 73 20 | 45 78 70 6f 72 74 20 65 | ' sets |Export e|
|000008b0| 72 72 6f 72 20 63 6f 64 | 65 20 28 4c 61 75 6e 63 |rror cod|e (Launc|
|000008c0| 68 2e 6e 65 78 74 20 44 | 65 6c 65 74 65 29 0d 20 |h.next D|elete). |
|000008d0| 20 20 20 20 20 20 20 20 | 20 4b 49 4c 4c 20 4e 65 | | KILL Ne|
|000008e0| 78 74 4c 61 75 6e 63 68 | 24 0d 20 20 20 20 20 58 |xtLaunch|$. X|
|000008f0| 45 4c 53 45 0d 20 20 20 | 20 20 20 20 20 20 20 45 |ELSE. | E|
|00000900| 72 72 43 6f 64 65 25 3d | 35 3a 20 20 20 20 27 20 |rrCode%=|5: ' |
|00000910| 73 65 74 73 20 45 78 70 | 6f 72 74 20 65 72 72 6f |sets Exp|ort erro|
|00000920| 72 20 63 6f 64 65 20 28 | 4e 65 77 20 6c 61 6e 75 |r code (|New lanu|
|00000930| 63 68 2e 6e 65 78 74 20 | 43 72 65 61 74 69 6f 6e |ch.next |Creation|
|00000940| 29 0d 20 20 20 20 20 20 | 20 20 20 20 4f 50 45 4e |). | OPEN|
|00000950| 20 22 4f 22 2c 31 2c 4e | 65 78 74 4c 61 75 6e 63 | "O",1,N|extLaunc|
|00000960| 68 24 0d 20 20 20 20 20 | 20 20 20 20 20 46 4f 52 |h$. | FOR|
|00000970| 20 43 6f 75 6e 74 25 20 | 3d 20 31 20 54 4f 20 45 | Count% |= 1 TO E|
|00000980| 76 65 6e 74 43 6f 75 6e | 74 25 0d 20 20 20 20 20 |ventCoun|t%. |
|00000990| 20 20 20 20 20 20 20 20 | 20 50 52 49 4e 54 20 23 | | PRINT #|
|000009a0| 31 2c 54 61 62 62 79 24 | 28 43 6f 75 6e 74 25 29 |1,Tabby$|(Count%)|
|000009b0| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |;. | |
|000009c0| 47 4f 53 55 42 20 22 43 | 75 72 73 6f 72 5f 53 70 |GOSUB "C|ursor_Sp|
|000009d0| 69 6e 22 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |in". | |
|000009e0| 20 20 4c 4f 4e 47 20 49 | 46 20 54 61 62 62 79 24 | LONG I|F Tabby$|
|000009f0| 28 43 6f 75 6e 74 25 2b | 31 29 20 3d 20 22 22 0d |(Count%+|1) = "".|
|00000a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000a10| 20 20 20 50 52 49 4e 54 | 20 23 31 2c 43 48 52 24 | PRINT| #1,CHR$|
|00000a20| 28 31 33 29 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |(13);. | |
|00000a30| 20 20 20 20 58 45 4c 53 | 45 0d 20 20 20 20 20 20 | XELS|E. |
|00000a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 50 52 49 | | PRI|
|00000a50| 4e 54 20 23 31 2c 22 2c | 22 3b 0d 20 20 20 20 20 |NT #1,",|";. |
|00000a60| 20 20 20 20 20 20 20 20 | 20 45 4e 44 20 49 46 0d | | END IF.|
|00000a70| 20 20 20 20 20 20 20 20 | 20 20 4e 45 58 54 20 43 | | NEXT C|
|00000a80| 6f 75 6e 74 25 0d 20 20 | 20 20 20 20 20 20 20 20 |ount%. | |
|00000a90| 43 4c 4f 53 45 20 23 31 | 0d 20 20 20 20 20 45 4e |CLOSE #1|. EN|
|00000aa0| 44 20 49 46 0d 0d 20 20 | 20 20 20 27 20 49 66 20 |D IF.. | ' If |
|00000ab0| 45 52 52 4f 52 20 3c 3e | 20 30 20 74 68 65 6e 20 |ERROR <>| 0 then |
|00000ac0| 74 68 65 72 65 20 77 61 | 73 20 61 20 70 72 6f 62 |there wa|s a prob|
|00000ad0| 6c 65 6d 20 77 72 69 74 | 69 6e 67 2f 64 65 6c 65 |lem writ|ing/dele|
|00000ae0| 74 69 6e 67 20 6c 61 75 | 6e 63 68 2e 6e 65 78 74 |ting lau|nch.next|
|00000af0| 20 66 69 6c 65 0d 20 20 | 20 20 20 49 46 20 45 52 | file. | IF ER|
|00000b00| 52 4f 52 20 3c 3e 20 30 | 20 54 48 45 4e 20 47 4f |ROR <> 0| THEN GO|
|00000b10| 53 55 42 20 22 45 52 52 | 4f 52 5f 43 68 65 63 6b |SUB "ERR|OR_Check|
|00000b20| 22 0d 0d 20 20 20 20 20 | 27 20 41 64 64 20 42 42 |".. |' Add BB|
|00000b30| 53 20 70 61 74 68 20 74 | 6f 20 61 70 70 6c 69 63 |S path t|o applic|
|00000b40| 61 74 69 6f 6e 20 74 6f | 20 62 65 20 6c 61 75 6e |ation to| be laun|
|00000b50| 63 68 65 64 0d 20 20 20 | 20 20 27 20 49 66 20 74 |ched. | ' If t|
|00000b60| 68 65 20 4e 65 78 74 20 | 45 76 65 6e 74 20 3d 20 |he Next |Event = |
|00000b70| 22 42 42 53 22 20 74 68 | 65 6e 20 6e 65 78 74 20 |"BBS" th|en next |
|00000b80| 66 69 6c 65 20 74 6f 20 | 6c 61 75 6e 63 68 20 74 |file to |launch t|
|00000b90| 6f 20 52 65 64 20 52 79 | 64 65 72 20 48 6f 73 74 |o Red Ry|der Host|
|00000ba0| 20 52 52 48 6f 73 74 24 | 0d 20 20 20 20 20 4c 61 | RRHost$|. La|
|00000bb0| 75 6e 63 68 46 69 6c 65 | 24 3d 42 42 53 50 61 74 |unchFile|$=BBSPat|
|00000bc0| 68 24 2b 54 61 62 62 79 | 24 28 30 29 0d 20 20 20 |h$+Tabby|$(0). |
|00000bd0| 20 20 49 46 20 55 43 41 | 53 45 24 28 54 61 62 62 | IF UCA|SE$(Tabb|
|00000be0| 79 24 28 30 29 29 20 3d | 20 22 42 42 53 22 20 54 |y$(0)) =| "BBS" T|
|00000bf0| 48 45 4e 20 4c 61 75 6e | 63 68 46 69 6c 65 24 3d |HEN Laun|chFile$=|
|00000c00| 52 52 48 6f 73 74 24 0d | 0d 0d 20 20 20 20 20 45 |RRHost$.|.. E|
|00000c10| 52 52 4f 52 20 3d 20 30 | 3a 20 20 20 20 20 27 20 |RROR = 0|: ' |
|00000c20| 73 65 74 73 20 45 52 52 | 4f 52 20 62 69 74 20 74 |sets ERR|OR bit t|
|00000c30| 6f 20 5a 65 72 6f 2f 4e | 6f 20 65 72 72 6f 72 20 |o Zero/N|o error |
|00000c40| 68 61 73 20 6f 63 63 75 | 72 65 64 0d 20 20 20 20 |has occu|red. |
|00000c50| 20 45 72 72 43 6f 64 65 | 25 3d 36 3a 20 20 20 20 | ErrCode|%=6: |
|00000c60| 27 20 73 65 74 73 20 45 | 78 70 6f 72 74 20 65 72 |' sets E|xport er|
|00000c70| 72 6f 72 20 63 6f 64 65 | 20 28 30 36 20 64 65 61 |ror code| (06 dea|
|00000c80| 6c 73 20 77 69 74 68 20 | 6e 65 78 74 20 6c 61 75 |ls with |next lau|
|00000c90| 6e 63 68 20 61 70 70 6c | 69 63 61 74 69 6f 6e 29 |nch appl|ication)|
|00000ca0| 0d 0d 20 20 20 20 20 27 | 20 43 68 65 63 6b 73 20 |.. '| Checks |
|00000cb0| 74 6f 20 73 65 65 20 69 | 66 20 4c 61 75 6e 63 68 |to see i|f Launch|
|00000cc0| 46 69 6c 65 20 65 78 69 | 73 74 73 0d 20 20 20 20 |File exi|sts. |
|00000cd0| 20 4f 50 45 4e 20 22 49 | 22 2c 32 2c 4c 61 75 6e | OPEN "I|",2,Laun|
|00000ce0| 63 68 46 69 6c 65 24 0d | 20 20 20 20 20 43 4c 4f |chFile$.| CLO|
|00000cf0| 53 45 20 23 32 0d 20 20 | 20 20 20 27 20 49 66 20 |SE #2. | ' If |
|00000d00| 69 74 20 64 6f 65 73 20 | 65 78 69 73 74 20 74 68 |it does |exist th|
|00000d10| 65 6e 20 6c 61 75 6e 63 | 68 20 69 74 20 20 20 20 |en launc|h it |
|00000d20| 20 0d 20 20 20 20 20 4c | 4f 4e 47 20 49 46 20 45 | . L|ONG IF E|
|00000d30| 52 52 4f 52 20 3d 20 30 | 20 54 48 45 4e 20 0d 20 |RROR = 0| THEN . |
|00000d40| 20 20 20 20 20 20 20 20 | 20 52 55 4e 20 4c 61 75 | | RUN Lau|
|00000d50| 6e 63 68 46 69 6c 65 24 | 0d 20 20 20 20 20 20 20 |nchFile$|. |
|00000d60| 20 20 20 45 4e 44 3a 20 | 27 20 41 20 6d 75 73 74 | END: |' A must|
|00000d70| 20 69 66 20 79 6f 75 20 | 72 75 6e 20 75 6e 64 65 | if you |run unde|
|00000d80| 72 20 4d 75 6c 74 69 46 | 69 6e 64 65 72 0d 20 20 |r MultiF|inder. |
|00000d90| 20 20 20 45 4e 44 20 49 | 46 0d 20 20 20 20 20 45 | END I|F. E|
|00000da0| 72 72 4c 69 6e 65 24 20 | 3d 20 22 3c 3c 45 52 52 |rrLine$ |= "<<ERR|
|00000db0| 4f 52 22 2b 53 54 52 24 | 28 45 52 52 4f 52 29 2b |OR"+STR$|(ERROR)+|
|00000dc0| 22 3e 3e 20 2a 22 2b 4c | 61 75 6e 63 68 46 69 6c |">> *"+L|aunchFil|
|00000dd0| 65 24 2b 22 2a 20 44 6f | 65 73 20 6e 6f 74 20 65 |e$+"* Do|es not e|
|00000de0| 78 69 73 74 20 61 74 20 | 65 6e 64 20 6f 66 20 49 |xist at |end of I|
|00000df0| 6e 64 69 63 61 74 65 64 | 20 50 61 74 68 21 20 22 |ndicated| Path! "|
|00000e00| 0d 20 20 20 20 20 47 4f | 53 55 42 20 22 45 72 72 |. GO|SUB "Err|
|00000e10| 6f 72 20 4c 6f 67 22 0d | 0d 22 4c 61 75 6e 63 68 |or Log".|."Launch|
|00000e20| 5f 52 52 48 22 0d 0d 20 | 20 20 20 20 45 52 52 4f |_RRH".. | ERRO|
|00000e30| 52 20 3d 20 30 3a 20 20 | 20 20 20 27 20 73 65 74 |R = 0: | ' set|
|00000e40| 73 20 45 52 52 4f 52 20 | 62 69 74 20 74 6f 20 5a |s ERROR |bit to Z|
|00000e50| 65 72 6f 2f 4e 6f 20 65 | 72 72 6f 72 20 68 61 73 |ero/No e|rror has|
|00000e60| 20 6f 63 63 75 72 65 64 | 0d 20 20 20 20 20 45 72 | occured|. Er|
|00000e70| 72 43 6f 64 65 25 3d 37 | 3a 20 20 20 20 27 20 73 |rCode%=7|: ' s|
|00000e80| 65 74 73 20 45 78 70 6f | 72 74 20 65 72 72 6f 72 |ets Expo|rt error|
|00000e90| 20 63 6f 64 65 20 28 30 | 37 20 64 65 61 6c 73 20 | code (0|7 deals |
|00000ea0| 77 69 74 68 20 6c 61 75 | 6e 63 68 69 6e 67 20 52 |with lau|nching R|
|00000eb0| 52 48 6f 73 74 2f 53 53 | 0d 20 20 20 20 20 0d 20 |RHost/SS|. . |
|00000ec0| 20 20 20 20 27 20 43 68 | 65 63 6b 73 20 74 6f 20 | ' Ch|ecks to |
|00000ed0| 73 65 65 20 69 66 20 52 | 52 48 6f 73 74 20 65 78 |see if R|RHost ex|
|00000ee0| 69 73 74 73 0d 20 20 20 | 20 20 4f 50 45 4e 20 22 |ists. | OPEN "|
|00000ef0| 49 22 2c 32 2c 52 52 48 | 6f 73 74 24 0d 20 20 20 |I",2,RRH|ost$. |
|00000f00| 20 20 43 4c 4f 53 45 20 | 23 32 0d 20 20 20 20 20 | CLOSE |#2. |
|00000f10| 27 20 49 66 20 69 74 20 | 64 6f 65 73 20 65 78 69 |' If it |does exi|
|00000f20| 73 74 20 74 68 65 6e 20 | 6c 61 75 6e 63 68 20 69 |st then |launch i|
|00000f30| 74 0d 20 20 20 20 20 4c | 4f 4e 47 20 49 46 20 45 |t. L|ONG IF E|
|00000f40| 52 52 4f 52 20 3d 20 30 | 0d 20 20 20 20 20 20 20 |RROR = 0|. |
|00000f50| 20 20 20 52 55 4e 20 52 | 52 48 6f 73 74 24 0d 20 | RUN R|RHost$. |
|00000f60| 20 20 20 20 20 20 20 20 | 20 45 4e 44 3a 20 27 20 | | END: ' |
|00000f70| 61 20 6d 75 73 74 20 69 | 66 20 79 6f 75 20 72 75 |a must i|f you ru|
|00000f80| 6e 20 75 6e 64 65 72 20 | 4d 75 6c 74 69 46 69 6e |n under |MultiFin|
|00000f90| 64 65 72 0d 20 20 20 20 | 20 45 4e 44 20 49 46 0d |der. | END IF.|
|00000fa0| 0d 20 20 20 20 20 27 20 | 6c 61 73 74 20 63 68 61 |. ' |last cha|
|00000fb0| 6e 63 65 2c 20 52 52 48 | 6f 73 74 20 6c 61 75 6e |nce, RRH|ost laun|
|00000fc0| 63 68 20 66 61 69 6c 65 | 64 2c 20 64 72 6f 70 20 |ch faile|d, drop |
|00000fd0| 74 6f 20 66 69 6e 64 65 | 72 0d 20 20 20 20 20 45 |to finde|r. E|
|00000fe0| 72 72 4c 69 6e 65 24 20 | 3d 20 22 3c 3c 45 52 52 |rrLine$ |= "<<ERR|
|00000ff0| 4f 52 22 2b 53 54 52 24 | 28 45 52 52 4f 52 29 2b |OR"+STR$|(ERROR)+|
|00001000| 22 3e 3e 20 2a 22 2b 52 | 52 48 6f 73 74 24 2b 22 |">> *"+R|RHost$+"|
|00001010| 2a 20 44 6f 65 73 20 6e | 6f 74 20 65 78 69 73 74 |* Does n|ot exist|
|00001020| 20 61 74 20 65 6e 64 20 | 6f 66 20 49 6e 64 69 63 | at end |of Indic|
|00001030| 61 74 65 64 20 50 61 74 | 68 21 20 22 0d 20 20 20 |ated Pat|h! ". |
|00001040| 20 20 47 4f 53 55 42 20 | 22 45 72 72 6f 72 20 4c | GOSUB |"Error L|
|00001050| 6f 67 22 0d 20 20 20 20 | 20 45 4e 44 0d 20 20 20 |og". | END. |
|00001060| 20 0d 20 20 20 20 20 52 | 45 54 55 52 4e 0d 0d 0d | . R|ETURN...|
|00001070| 0d 22 45 52 52 4f 52 5f | 43 68 65 63 6b 22 0d 0d |."ERROR_|Check"..|
|00001080| 20 20 20 20 20 47 4f 53 | 55 42 20 22 45 72 72 6f | GOS|UB "Erro|
|00001090| 72 20 4c 6f 67 22 0d 20 | 20 20 20 20 27 20 4c 45 |r Log". | ' LE|
|000010a0| 72 72 25 20 69 73 20 61 | 20 6d 75 6c 74 69 2d 70 |rr% is a| multi-p|
|000010b0| 75 72 70 6f 73 65 20 66 | 6c 61 67 2c 20 75 73 65 |urpose f|lag, use|
|000010c0| 64 20 62 79 20 76 61 72 | 69 6f 75 73 20 72 6f 75 |d by var|ious rou|
|000010d0| 74 69 6e 65 73 0d 20 20 | 20 20 20 27 20 49 66 20 |tines. | ' If |
|000010e0| 69 74 20 69 73 20 73 65 | 74 20 74 6f 20 31 20 74 |it is se|t to 1 t|
|000010f0| 68 65 6e 20 74 68 61 74 | 20 6d 65 61 6e 73 20 74 |hen that| means t|
|00001100| 68 65 20 65 72 72 6f 72 | 20 6f 63 63 75 72 72 65 |he error| occurre|
|00001110| 64 20 69 6e 20 74 68 65 | 0d 20 20 20 20 20 27 20 |d in the|. ' |
|00001120| 54 61 62 62 79 5f 4c 61 | 75 6e 63 68 20 72 6f 75 |Tabby_La|unch rou|
|00001130| 74 69 6e 65 20 69 74 20 | 73 65 74 20 61 6e 64 20 |tine it |set and |
|00001140| 74 68 65 72 65 20 69 73 | 20 6e 6f 20 77 61 79 20 |there is| no way |
|00001150| 74 6f 20 72 65 63 6f 76 | 65 72 0d 20 20 20 20 20 |to recov|er. |
|00001160| 27 20 45 78 63 65 70 74 | 20 74 6f 20 61 74 74 65 |' Except| to atte|
|00001170| 6d 70 74 20 74 6f 20 72 | 75 6e 20 52 52 48 4f 53 |mpt to r|un RRHOS|
|00001180| 54 20 61 6e 64 20 45 4e | 44 2e 0d 20 20 20 20 20 |T and EN|D.. |
|00001190| 4c 4f 4e 47 20 49 46 20 | 4c 45 72 72 25 3d 31 0d |LONG IF |LErr%=1.|
|000011a0| 20 20 20 20 20 20 20 20 | 20 20 52 55 4e 20 52 52 | | RUN RR|
|000011b0| 48 6f 73 74 24 0d 20 20 | 20 20 20 20 20 20 20 20 |Host$. | |
|000011c0| 45 4e 44 3a 20 27 20 41 | 20 6d 75 73 74 20 69 66 |END: ' A| must if|
|000011d0| 20 79 6f 75 20 72 75 6e | 20 75 6e 64 65 72 20 4d | you run| under M|
|000011e0| 75 6c 74 69 46 69 6e 64 | 65 72 0d 20 20 20 20 20 |ultiFind|er. |
|000011f0| 45 4e 44 20 49 46 0d 20 | 20 20 20 20 47 4f 53 55 |END IF. | GOSU|
|00001200| 42 20 22 54 61 62 62 79 | 5f 4c 61 75 6e 63 68 22 |B "Tabby|_Launch"|
|00001210| 0d 20 20 20 20 20 45 4e | 44 0d 20 20 20 0d 20 20 |. EN|D. . |
|00001220| 20 20 20 52 45 54 55 52 | 4e 0d 0d 0d 22 45 72 72 | RETUR|N..."Err|
|00001230| 6f 72 20 4c 6f 67 22 0d | 0d 20 20 20 20 20 27 20 |or Log".|. ' |
|00001240| 57 72 69 74 65 73 20 61 | 20 74 65 78 74 20 66 69 |Writes a| text fi|
|00001250| 6c 65 2c 20 6c 69 73 74 | 69 6e 67 20 74 68 65 20 |le, list|ing the |
|00001260| 45 72 72 6f 72 20 74 68 | 61 74 20 68 61 70 70 65 |Error th|at happe|
|00001270| 6e 64 65 64 0d 20 20 20 | 20 20 45 72 72 48 6f 6c |nded. | ErrHol|
|00001280| 64 25 3d 45 52 52 4f 52 | 0d 20 20 20 20 20 44 45 |d%=ERROR|. DE|
|00001290| 46 20 4f 50 45 4e 20 22 | 54 45 58 54 45 44 49 54 |F OPEN "|TEXTEDIT|
|000012a0| 22 0d 20 20 20 20 20 4f | 50 45 4e 20 22 41 22 2c |". O|PEN "A",|
|000012b0| 39 2c 22 41 70 70 6c 69 | 63 61 74 69 6f 6e 2e 45 |9,"Appli|cation.E|
|000012c0| 72 72 6f 72 22 0d 20 20 | 20 20 20 20 20 20 20 20 |rror". | |
|000012d0| 45 72 72 4c 69 6e 65 24 | 3d 22 3c 3c 45 52 52 4f |ErrLine$|="<<ERRO|
|000012e0| 52 22 2b 53 54 52 24 28 | 45 72 72 68 6f 6c 64 25 |R"+STR$(|Errhold%|
|000012f0| 29 2b 22 2c 22 2b 53 54 | 52 24 28 45 72 72 43 6f |)+","+ST|R$(ErrCo|
|00001300| 64 65 25 29 2b 22 3e 3e | 20 69 6e 74 65 72 6e 61 |de%)+">>| interna|
|00001310| 6c 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 70 72 |l applic|ation pr|
|00001320| 6f 62 6c 65 6d 20 22 2b | 54 49 4d 45 24 2b 22 20 |oblem "+|TIME$+" |
|00001330| 22 2b 44 41 54 45 24 0d | 20 20 20 20 20 20 20 20 |"+DATE$.| |
|00001340| 20 20 50 52 49 4e 54 20 | 23 39 2c 45 72 72 4c 69 | PRINT |#9,ErrLi|
|00001350| 6e 65 24 0d 20 20 20 20 | 20 20 43 4c 4f 53 45 20 |ne$. | CLOSE |
|00001360| 23 39 0d 20 20 20 20 20 | 20 52 45 54 55 52 4e 0d |#9. | RETURN.|
|00001370| 20 20 20 20 20 0d 0d 0d | 0d 0d 0d 00 00 00 00 00 | ...|........|
|00001380| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00001390| 67 00 ff 5c 4e 75 20 50 | 10 28 00 27 e2 40 02 40 |g..\Nu P|.(.'.@.@|
|000013a0| 00 0f 4e 75 22 50 70 ff | 0c 51 00 08 67 00 00 86 |..Nu"Pp.|.Q..g...|
|000013b0| 10 54 61 62 62 79 5f 4c | 41 55 4e 43 48 2e 62 61 |.Tabby_L|AUNCH.ba|
|000013c0| 73 62 02 00 00 00 50 61 | 72 74 53 49 54 78 00 00 |sb....Pa|rtSITx..|
|000013d0| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 a9 8d 50 1c 00 00 | 00 00 00 00 01 5c 45 52 |....P...|.....\ER|
|00001400| 67 32 0c 81 50 52 45 53 | 67 2a 4a 81 67 28 08 29 |g2..PRES|g*J.g(.)|
|00001410| 00 05 00 26 66 20 59 4f | 50 e7 50 e7 2f 08 4e ba |...&f YO|P.P./.N.|
|00001420| ef 92 22 1f 67 10 20 41 | 20 50 20 28 00 62 e1 88 |..".g. A| P (.b..|
|00001430| 10 28 00 66 4e 75 20 3c | 44 6f 63 75 60 f6 00 00 |.(.fNu <|Docu`...|
|00001440| 3a 18 09 38 00 59 4e 56 | ff f8 48 e7 10 20 24 6e |:..8.YNV|..H.. $n|
|00001450| 00 08 0c 52 00 08 66 22 | 2d 6a 00 02 ff fa 08 2a |...R..f"|-j.....*|
|00001460| 00 00 00 0f 67 0a 2f 2e | ff fa 4e ba 02 5c 60 08 |....g./.|..N..\`.|
|00001470| 2f 2e ff fa 4e ba 02 70 | 58 8f 48 6e ff fe 48 6e |/...N..p|X.Hn..Hn|
|00001480| 00 00 00 04 00 06 00 08 | 00 00 00 0a 00 09 06 4d |........|.......M|
|00001490| 6f 6e 61 63 6f 00 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........|
|000014a0| 00 16 00 00 00 46 00 05 | 26 f4 07 b8 00 00 00 1c |.....F..|&.......|
|000014b0| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|000014c0| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 05 27 04 |........|......'.|
|000014d0| 03 eb ff ff 00 00 00 08 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+